package com.seu.data.structures.unionfind.basics;

/**
 * 并查集接口
 *
 * @author liangfeihu
 * @since 2018/12/5 16:13
 */
public interface UF {

    int getSize();

    boolean isConnected(int p, int q);

    void unionElements(int p, int q);

}
